package com.cap.bts.crmdp.dealer.coupon.domain;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cap.bts.framework.common.domain.BaseDomain;

@Entity
@Table(name = "TM_RAW_PACKAGE_PRICE")
@AttributeOverrides({
                     @AttributeOverride(name = "createBy", column = @Column(name = "CREATE_BY")),
                     @AttributeOverride(name = "createDate", column = @Column(name = "CREATE_DATE", nullable = false)),
                     @AttributeOverride(name = "lastUpdateBy", column = @Column(name = "LAST_UPDATE_BY")),
                     @AttributeOverride(name = "lastUpdateDate", column = @Column(name = "LAST_UPDATE_DATE")) })
public class TicketLinePriceModel extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long              id;

    private Long              ticketLineId;

    private String            codeType;

    private String            code;

    private String            value;

    private double            price;

    /** 
     * Getter method for property <tt>id</tt>. 
     * @return property value of id 
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    public Long getId() {
        return id;
    }

    /** 
     * Setter method for property <tt>id</tt>. 
     * @param id value to be assigned to property id 
     */

    public void setId(Long id) {
        this.id = id;
    }

    /** 
     * Getter method for property <tt>codeType</tt>. 
     * @return property value of codeType 
     */
    @Column(name = "CODE_TYPE")
    public String getCodeType() {
        return codeType;
    }

    /** 
     * Setter method for property <tt>codeType</tt>. 
     * @param codeType value to be assigned to property codeType 
     */

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    /** 
     * Getter method for property <tt>code</tt>. 
     * @return property value of code 
     */
    @Column(name = "CODE")
    public String getCode() {
        return code;
    }

    /** 
     * Setter method for property <tt>code</tt>. 
     * @param code value to be assigned to property code 
     */

    public void setCode(String code) {
        this.code = code;
    }

    /** 
     * Getter method for property <tt>value</tt>. 
     * @return property value of value 
     */
    @Column(name = "VALUE")
    public String getValue() {
        return value;
    }

    /** 
     * Setter method for property <tt>value</tt>. 
     * @param value value to be assigned to property value 
     */

    public void setValue(String value) {
        this.value = value;
    }

    /** 
     * Getter method for property <tt>price</tt>. 
     * @return property value of price 
     */
    @Column(name = "PRICE")
    public double getPrice() {
        return price;
    }

    /** 
     * Setter method for property <tt>price</tt>. 
     * @param price value to be assigned to property price 
     */

    public void setPrice(double price) {
        this.price = price;
    }

    /** 
     * Getter method for property <tt>ticketLineId</tt>. 
     * @return property value of ticketLineId 
     */
    @Column(name = "TICKET_LINE_ID")
    public Long getTicketLineId() {
        return ticketLineId;
    }

    /** 
     * Setter method for property <tt>ticketLineId</tt>. 
     * @param ticketLineId value to be assigned to property ticketLineId 
     */

    public void setTicketLineId(Long ticketLineId) {
        this.ticketLineId = ticketLineId;
    }

}
